import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

Widget appImage(
    {String imagePath = "assets/icons/user.png",
    double width = 16,
    double height = 16,
    BoxFit fit = BoxFit.cover}) {
  return Image.asset(imagePath.isEmpty ? "assets/icons/user.png" : imagePath,
      width: width.w, height: height.h, fit: fit);
}
